package com.zzl.ov_library.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzl.ov_library.entity.BorrowRecord;
import com.zzl.ov_library.service.BorrowRecordService;
import com.zzl.ov_library.mapper.BorrowRecordMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 周
* @description 针对表【borrow_record】的数据库操作Service实现
* @createDate 2025-04-13 16:27:27
*/
@Service
public class BorrowRecordServiceImpl extends ServiceImpl<BorrowRecordMapper, BorrowRecord>
    implements BorrowRecordService{


    @Autowired(required = false)
    private BorrowRecordMapper borrowRecordMapper;

    @Override
    public List<Integer> listTopBookIds() {
        return borrowRecordMapper.listTopBookIds();
    }
}




